package com.mrtrying.ui.example;

import android.graphics.Color;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

import com.mrtrying.widget.ShapeButton;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    public void test(View view){
        ShapeButton shapeButton = findViewById(R.id.shapeButton);
        shapeButton.setBackgroundColor(Color.GREEN);
    }
}
